package com.flyco.modules.pms.service.impl;

import com.flyco.modules.pms.entity.PmsProductAttribute;
import com.flyco.modules.pms.mapper.PmsProductAttributeMapper;
import com.flyco.modules.pms.service.IPmsProductAttributeService;
import org.springframework.stereotype.Service;
import java.util.List;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * @Description: 属性
 * @Author: flyco
 * @Date:   2019-11-18
 * @Version: V1.0
 */
@Service
public class PmsProductAttributeServiceImpl extends ServiceImpl<PmsProductAttributeMapper, PmsProductAttribute> implements IPmsProductAttributeService {
	
	@Autowired
	private PmsProductAttributeMapper pmsProductAttributeMapper;

	@Override
	public List<PmsProductAttribute> selectByMainId(Long mainId) {
		return pmsProductAttributeMapper.selectByMainId(mainId);
	}
}
